gtk4.git
12 years agotoolbar: implement minimum and natural sizes in _get_preferred family
Jonh Wendell [Wed, 31 Jul 2013 14:42:50 +0000 (11:42 -0300)]
toolbar: implement minimum and natural sizes in _get_preferred family

currently it's using the same sizes for natural and minimum, but it
happens that, when it's allowed to use the arrow, the minimum size
can be smaller than natural.

https://bugzilla.gnome.org/show_bug.cgi?id=693227

12 years agoFix testtoolbar
Matthias Clasen [Sat, 9 Nov 2013 18:23:47 +0000 (13:23 -0500)]
Fix testtoolbar

The conversion from stock to icon names left some items without
a label, which in turn shows up as empty menuitems in the overflow
menu.

12 years agogdk/win32: remove extra allocation for \r removal
Marc-André Lureau [Wed, 6 Nov 2013 13:33:19 +0000 (14:33 +0100)]
gdk/win32: remove extra allocation for \r removal

Although I can't find explicit documentation for clipboard pointer, it
seems to be possible to modify clibpoard memory without side-effects.

According to MSDN,
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366596%28v=vs.85%29.aspx

"The global and local functions are supported for porting from 16-bit
code, or for maintaining source code compatibility with 16-bit
Windows. Starting with 32-bit Windows, the global and local functions
are implemented as wrapper functions that call the corresponding heap
functions using a handle to the process's default heap."

"Memory objects allocated by GlobalAlloc and LocalAlloc are in private,
committed pages with read/write access that cannot be accessed by other
processes. Memory allocated by using GlobalAlloc with GMEM_DDESHARE is
not actually shared globally as it is in 16-bit Windows. This value has
no effect and is available only for compatibility. "

https://bugzilla.gnome.org/show_bug.cgi?id=711553

12 years agogtkprintbackendfile: Check the GtkPrintSettings passed to file_printer_get_options...
Carlos Garcia Campos [Fri, 8 Nov 2013 14:42:15 +0000 (15:42 +0100)]
gtkprintbackendfile: Check the GtkPrintSettings passed to file_printer_get_options is not NULL before using it

https://bugzilla.gnome.org/show_bug.cgi?id=703784

12 years agoGtkListBox: Expand the placeholder
Timm Bäder [Fri, 1 Nov 2013 11:30:07 +0000 (12:30 +0100)]
GtkListBox: Expand the placeholder

https://bugzilla.gnome.org/show_bug.cgi?id=711255

12 years agostack: Use g_object_notify_by_pspec()
David King [Tue, 5 Nov 2013 10:18:37 +0000 (10:18 +0000)]
stack: Use g_object_notify_by_pspec()

https://bugzilla.gnome.org/show_bug.cgi?id=711611

12 years agostack: Use g_object_class_install_properties()
David King [Tue, 5 Nov 2013 10:11:35 +0000 (10:11 +0000)]
stack: Use g_object_class_install_properties()

https://bugzilla.gnome.org/show_bug.cgi?id=711611

12 years agoreftests: Fix CSS for tests after :link introduction
Benjamin Otte [Sat, 9 Nov 2013 15:42:29 +0000 (16:42 +0100)]
reftests: Fix CSS for tests after :link introduction

12 years agoAdd an index for new gdk api
Matthias Clasen [Sat, 9 Nov 2013 05:00:16 +0000 (00:00 -0500)]
Add an index for new gdk api

12 years agoAdd an event_compression setting to GdkWindow
Daniel Sabo [Tue, 29 Oct 2013 21:43:05 +0000 (14:43 -0700)]
Add an event_compression setting to GdkWindow

Setting event compression to false will allow inter-frame
mouse motion events to be delivered, which are necessary
for painting applications to produce smooth strokes.

https://bugzilla.gnome.org/show_bug.cgi?id=702392

12 years agowidget-factory: polish the layout
William Jon McCann [Wed, 6 Nov 2013 22:18:33 +0000 (17:18 -0500)]
widget-factory: polish the layout

Add a bit more breathing room and put similar widgets together.

12 years agobroadway: Add buffer decoding colorizing
Alexander Larsson [Fri, 8 Nov 2013 09:37:00 +0000 (10:37 +0100)]
broadway: Add buffer decoding colorizing

If you add ?debug=decoding to the url you will get colorized debug
info for the buffer decoder.

12 years agobroadway: Extract buffer decoding to separate helper
Alexander Larsson [Fri, 8 Nov 2013 09:13:12 +0000 (10:13 +0100)]
broadway: Extract buffer decoding to separate helper

12 years agodemo: Make sure to add gtk3-widget-factory.desktop to tarball
Rico Tzschichholz [Thu, 7 Nov 2013 22:14:54 +0000 (23:14 +0100)]
demo: Make sure to add gtk3-widget-factory.desktop to tarball

In addition to 721cdfd966c41b8fb57f77e9c0e409c6a7a98b03

12 years agoDoc: add missing GtkPrintSettings symbols
Sébastien Wilmet [Sun, 3 Nov 2013 18:48:50 +0000 (19:48 +0100)]
Doc: add missing GtkPrintSettings symbols

The symbols are documented, they were just missing in gtk3-sections.txt.

https://bugzilla.gnome.org/show_bug.cgi?id=711354

12 years agodemo: Make sure to add gtk3-demo.desktop to tarball
Rico Tzschichholz [Thu, 7 Nov 2013 17:28:23 +0000 (18:28 +0100)]
demo: Make sure to add gtk3-demo.desktop to tarball

In addition to fc71414ada5b270a4c6c9775225f5cdc5d303f63

12 years agobroadway: Add rawinflate.min.js to EXTRA_DIST
Rico Tzschichholz [Thu, 7 Nov 2013 16:44:08 +0000 (17:44 +0100)]
broadway: Add rawinflate.min.js to EXTRA_DIST

In addition to 149b3af105bd493cf267a1b69a3661cdfa88a46c

12 years agobroadway: Use zlib compression for broadway buffers
Alexander Larsson [Thu, 7 Nov 2013 12:54:54 +0000 (13:54 +0100)]
broadway: Use zlib compression for broadway buffers

This imports the MIT licensed js unzip from:
https://github.com/imaya/zlib.js

and uses it to decompress in js on the client side.

12 years agoSwitch from sending png frames to our own encoding
Alexander Larsson [Thu, 7 Nov 2013 11:22:38 +0000 (12:22 +0100)]
Switch from sending png frames to our own encoding

This is based on the rolling hashes code from
http://cgit.freedesktop.org/~krh/weston/log/?h=remote

It works by incrementally calculating hashes for every 32x32 block
in each frame sent, and then refering back to such blocks when
encoding the next frame. This means we detect when a block matches
an existing block in the previous frame in a different position.
This is great for detecting scrolling, which we need now that
the gdk level scrolling is neutered.

12 years agobroadway: Always use client side decorations
Alexander Larsson [Wed, 6 Nov 2013 12:28:52 +0000 (13:28 +0100)]
broadway: Always use client side decorations

12 years agobroadway: Implement gdk_window_begin_move_drag()
Alexander Larsson [Wed, 6 Nov 2013 12:28:12 +0000 (13:28 +0100)]
broadway: Implement gdk_window_begin_move_drag()

12 years agobroadway: Add gdkbroadwaydisplay.h include
Alexander Larsson [Wed, 6 Nov 2013 12:11:54 +0000 (13:11 +0100)]
broadway: Add gdkbroadwaydisplay.h include

12 years agobroadway: Simplify frame handling and make it ARGB32
Alexander Larsson [Wed, 6 Nov 2013 11:54:37 +0000 (12:54 +0100)]
broadway: Simplify frame handling and make it ARGB32

This completely removes the delta compression and makes all buffers ARGB.
This is obviously slower, but this will be re-integrated later.

12 years agobroadway: Remove window translation code
Alexander Larsson [Wed, 6 Nov 2013 11:31:27 +0000 (12:31 +0100)]
broadway: Remove window translation code

This is no longer used as we neutered gdk_window_scroll & co.

12 years agowidget-factory: Update copyright in about dialog
Jasper St. Pierre [Wed, 6 Nov 2013 17:51:29 +0000 (12:51 -0500)]
widget-factory: Update copyright in about dialog

12 years agowidget-factory: Make the About dialog actually transient
Jasper St. Pierre [Wed, 6 Nov 2013 17:50:31 +0000 (12:50 -0500)]
widget-factory: Make the About dialog actually transient

It's an app action, not a window action.

12 years agoUse a big icon in the stack example
Matthias Clasen [Wed, 6 Nov 2013 02:47:29 +0000 (21:47 -0500)]
Use a big icon in the stack example

We used a 256x256 before. Keep doing that.

12 years agoUpdated POTFILES.skip
Piotr Drąg [Tue, 5 Nov 2013 23:18:56 +0000 (00:18 +0100)]
Updated POTFILES.skip

12 years agowidget-factory: use new icon instead of gtk logo
William Jon McCann [Tue, 5 Nov 2013 21:39:50 +0000 (16:39 -0500)]
widget-factory: use new icon instead of gtk logo

12 years agowidget-factory: add icon
William Jon McCann [Tue, 5 Nov 2013 21:32:30 +0000 (16:32 -0500)]
widget-factory: add icon

12 years agodemo: use the installed named icon
William Jon McCann [Tue, 5 Nov 2013 20:29:54 +0000 (15:29 -0500)]
demo: use the installed named icon

12 years agodemo: Add desktop file
William Jon McCann [Tue, 5 Nov 2013 15:20:49 +0000 (10:20 -0500)]
demo: Add desktop file

12 years agodemo: add icon
William Jon McCann [Tue, 5 Nov 2013 19:11:50 +0000 (14:11 -0500)]
demo: add icon

12 years agowidget-factory: add desktop file for widget factory
William Jon McCann [Tue, 5 Nov 2013 13:56:30 +0000 (08:56 -0500)]
widget-factory: add desktop file for widget factory

12 years agoRevert "broadway: Fix gcc warning"
Jasper St. Pierre [Tue, 5 Nov 2013 16:13:57 +0000 (11:13 -0500)]
Revert "broadway: Fix gcc warning"

This reverts commit f0d3d72574ff0282ecb3aa6311677def57cef8f5.

12 years agowidget-factory: port to GtkApplication and GtkHeaderBar
William Jon McCann [Mon, 4 Nov 2013 21:49:05 +0000 (16:49 -0500)]
widget-factory: port to GtkApplication and GtkHeaderBar

12 years agoDo not reset the waiting_for_printer on status change
Chenthill Palanisamy [Tue, 5 Nov 2013 12:30:33 +0000 (13:30 +0100)]
Do not reset the waiting_for_printer on status change

* gtk/gtkprintunixdialog.c (printer_status_cb): Do not reset the
waiting_for_printer on status change as the default printer might
get added later.

https://bugzilla.gnome.org/show_bug.cgi?id=577642

12 years agoFix accelerators
Khaled Hosny [Mon, 4 Nov 2013 22:58:43 +0000 (00:58 +0200)]
Fix accelerators

12 years agowidget-factory: Add a pulsing progress bar
William Jon McCann [Sat, 2 Nov 2013 20:13:33 +0000 (16:13 -0400)]
widget-factory: Add a pulsing progress bar

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 4 Nov 2013 17:18:36 +0000 (18:18 +0100)]
Updated Spanish translation

12 years agoreftests: Add test for new :link and :visited
Benjamin Otte [Mon, 4 Nov 2013 15:34:16 +0000 (16:34 +0100)]
reftests: Add test for new :link and :visited

We cannot test visited links in GtkLabel, so we don't.

12 years agoGtkAboutDialog: Use :link and :visited for link colors
Timm Bäder [Tue, 8 Oct 2013 11:03:37 +0000 (13:03 +0200)]
GtkAboutDialog: Use :link and :visited for link colors

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agoGtkLinkButton: Use :link and :visited for the label's color
Timm Bäder [Tue, 8 Oct 2013 10:50:08 +0000 (12:50 +0200)]
GtkLinkButton: Use :link and :visited for the label's color

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agoGtkLabel: Use :visited and :link for link colors
Timm Bäder [Tue, 8 Oct 2013 10:44:44 +0000 (12:44 +0200)]
GtkLabel: Use :visited and :link for link colors

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agocss parser: Add :link and :visited
Timm Bäder [Tue, 8 Oct 2013 09:27:53 +0000 (11:27 +0200)]
css parser: Add :link and :visited

... which are both to be used for links instead of the current
-GtkWidget-link-color and -GtkWidget-visited-link-color

https://bugzilla.gnome.org/show_bug.cgi?id=709629

12 years agotests: Make testflowbox test not emit warnings
Benjamin Otte [Wed, 16 Oct 2013 13:40:40 +0000 (15:40 +0200)]
tests: Make testflowbox test not emit warnings

12 years agobroadway: Fix gcc warning
Benjamin Otte [Wed, 16 Oct 2013 12:42:35 +0000 (14:42 +0200)]
broadway: Fix gcc warning

12 years agoUpdated Greek translation
Dimitris Spingos [Mon, 4 Nov 2013 08:00:45 +0000 (10:00 +0200)]
Updated Greek translation

12 years agobuild: correctly require gio-unix with broadway
Manuel Bachmann [Mon, 4 Nov 2013 06:10:36 +0000 (07:10 +0100)]
build: correctly require gio-unix with broadway

12 years agoGtkEntryCompletion: fix warning
Lars Uebernickel [Sun, 3 Nov 2013 18:08:41 +0000 (19:08 +0100)]
GtkEntryCompletion: fix warning

12 years agogtk_entry_completion_get_cells: revert returning NULL
Lars Uebernickel [Sun, 3 Nov 2013 18:02:01 +0000 (19:02 +0100)]
gtk_entry_completion_get_cells: revert returning NULL

Too many applications and libraries depend on accessing the internally
created cell renderer. Allow that again, but print a warning.

12 years agogtktextattributes: Use an anonymous union instead of arch-testing #ifdef
Colin Walters [Wed, 30 Oct 2013 15:26:48 +0000 (11:26 -0400)]
gtktextattributes: Use an anonymous union instead of arch-testing #ifdef

This avoids having Gtk-3.0.gir differ on 32 vs 64 bit, which causes
issues for "multilib" in Fedora/OpenSUSE type systems.

See https://bugzilla.gnome.org/show_bug.cgi?id=711153 for more
information.

https://bugzilla.gnome.org/show_bug.cgi?id=711158

12 years agoeventbox: also draw css borders if specified
Paolo Borelli [Sat, 2 Nov 2013 11:18:25 +0000 (12:18 +0100)]
eventbox: also draw css borders if specified

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agogrid: draw css background and borders
Paolo Borelli [Sat, 2 Nov 2013 11:21:51 +0000 (12:21 +0100)]
grid: draw css background and borders

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agofixed: draw css background and borders
Paolo Borelli [Sat, 2 Nov 2013 11:21:30 +0000 (12:21 +0100)]
fixed: draw css background and borders

https://bugzilla.gnome.org/show_bug.cgi?id=711324

12 years agoGtkEntryCompletion: call cell_area()->clear()
Lars Uebernickel [Sun, 3 Nov 2013 13:05:44 +0000 (14:05 +0100)]
GtkEntryCompletion: call cell_area()->clear()

Call gtk_cell_layout_clear() on the area instead of the completion in
gtk_entry_completion_clear_text_column_renderer(), because it is also
called from within gtk_entry_completion_clear().

12 years agogtk_entry_completion_set_text_column: reuse old renderer
Lars Uebernickel [Sat, 2 Nov 2013 13:22:33 +0000 (14:22 +0100)]
gtk_entry_completion_set_text_column: reuse old renderer

gtk_entry_completion_set_text_column() always added a cell renderer,
regardless of whether there was an existing one already installed.  This
patch reuses an old renderer if it exists, but only if it was added by a
previous call to this function.

To avoid conflicts, all renderers that were added manually are removed
when calling this function. Also, the renderer added by this function is
removed when manually adding new renderers. This effectively gives
GtkEntryCompletion two modes (managed and manual cell renderers) and
allows seamless switching between the two.

This is a minor API break. However, this shouldn't be an issue in
practice as applications couldn't call set_text_column() more than once
because of this bug. Also, it is unlikely that many applications mix
set_text_column() and custom cell renderers. The interaction between the
two modes was erratic and not documented well.

https://bugzilla.gnome.org/show_bug.cgi?id=635499

12 years agoFix "make install"
Paolo Borelli [Sat, 2 Nov 2013 11:15:34 +0000 (12:15 +0100)]
Fix "make install"

These files were listed twice

12 years agoreftests: Add missing reftests to the test runner
Jasper St. Pierre [Fri, 1 Nov 2013 20:51:31 +0000 (16:51 -0400)]
reftests: Add missing reftests to the test runner

12 years agogtksettings: Allow setting the GTK+ theme with an envvar
Jasper St. Pierre [Fri, 1 Nov 2013 20:03:56 +0000 (16:03 -0400)]
gtksettings: Allow setting the GTK+ theme with an envvar

To test with Raleigh much easier.

12 years agoframe: Remove a couple strange casts...
Jasper St. Pierre [Fri, 1 Nov 2013 18:12:37 +0000 (14:12 -0400)]
frame: Remove a couple strange casts...

12 years agoWin32 : fixes Bug 679019 (Popup menu misplaced in dual monitor)
Manuel Bachmann [Fri, 1 Nov 2013 16:59:05 +0000 (17:59 +0100)]
Win32 : fixes Bug 679019 (Popup menu misplaced in dual monitor)

12 years agoGtkEntryCompletion: call setter for "text-column"
Lars Uebernickel [Thu, 31 Oct 2013 06:34:50 +0000 (23:34 -0700)]
GtkEntryCompletion: call setter for "text-column"

Call gtk_entry_completion_set_text_column() when setting the
"text-column" property directly.

The completion appeared empty when setting "text-column" directly (for
example from a GtkBuilder file), because the setter creates and adds the
GtkCellRendererText.

https://bugzilla.gnome.org/show_bug.cgi?id=710533

12 years agostack: Fix the slide animation if the child has a non-zero allocation position
Jasper St. Pierre [Fri, 1 Nov 2013 05:51:27 +0000 (01:51 -0400)]
stack: Fix the slide animation if the child has a non-zero allocation position

This can happen if the child has a margin, for instance.

12 years agostack: Scope some variables so that the code is clearer
Jasper St. Pierre [Fri, 1 Nov 2013 05:49:29 +0000 (01:49 -0400)]
stack: Scope some variables so that the code is clearer

... that the allocation magic here is for the transition of the
last visible child that's sliding out.

12 years agogtkoverlay: Remove get_preferred_width / get_preferred_height implementation
Jasper St. Pierre [Thu, 31 Oct 2013 20:20:02 +0000 (16:20 -0400)]
gtkoverlay: Remove get_preferred_width / get_preferred_height implementation

GtkBin now handles this for us.

12 years agoWin32: Honor the geometry when GDK_HINT_MAX_SIZE is set.
Cody Russell [Thu, 31 Oct 2013 20:54:28 +0000 (15:54 -0500)]
Win32: Honor the geometry when GDK_HINT_MAX_SIZE is set.

The MINMAXINFO struct was being populated based upon geometry hints when
GDK_HINT_MAX_SIZE flag was enabled, then promptly having its values blown
away with default values.

https://bugzilla.gnome.org/show_bug.cgi?id=711110

12 years agogtkbox: Draw backgrounds and borders
Jasper St. Pierre [Thu, 31 Oct 2013 16:18:59 +0000 (12:18 -0400)]
gtkbox: Draw backgrounds and borders

12 years agobroadway-server: Fix signedness issue
Jasper St. Pierre [Thu, 31 Oct 2013 16:19:59 +0000 (12:19 -0400)]
broadway-server: Fix signedness issue

12 years agoBroadway : Replaced be32toh() with win32-compatible ntohl()
Manuel Bachmann [Wed, 30 Oct 2013 23:43:58 +0000 (00:43 +0100)]
Broadway : Replaced be32toh() with win32-compatible ntohl()

12 years agoMake treeview cursor handling a bit more robust
Matthias Clasen [Wed, 30 Oct 2013 17:57:33 +0000 (13:57 -0400)]
Make treeview cursor handling a bit more robust

Clearing the model in a GtkTreeSelection::changed handler was
crashing. While it is not a 100% kosher thing to do, lets be
more robust here.

12 years agoRevert "wayland: Support always-on-top / sticky windows"
Jasper St. Pierre [Tue, 29 Oct 2013 21:13:03 +0000 (17:13 -0400)]
Revert "wayland: Support always-on-top / sticky windows"

This reverts commit b3cffb85f39183a83a99e7517191e46bcd744749.

Pushed by accident.

12 years agoUse g_return_val_if_fail where return value needed.
Daniel Svensson [Sun, 27 Oct 2013 21:36:32 +0000 (22:36 +0100)]
Use g_return_val_if_fail where return value needed.

https://bugzilla.gnome.org/show_bug.cgi?id=710987

12 years agowayland: Support always-on-top / sticky windows
Jasper St. Pierre [Wed, 9 Oct 2013 20:55:55 +0000 (16:55 -0400)]
wayland: Support always-on-top / sticky windows

Use the new gtk-shell APIs available in mutter to add support for this.

https://bugzilla.gnome.org/show_bug.cgi?id=710056

12 years agowayland: Always attach null surfaces on hide
Jasper St. Pierre [Mon, 16 Sep 2013 22:39:55 +0000 (18:39 -0400)]
wayland: Always attach null surfaces on hide

Destroying the surface isn't really appropriate, as the GtkWindow
is still realized and we won't necessarily know how to reconstruct it.

12 years agowayland: Remove a useless else-if
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:48 +0000 (18:38 -0400)]
wayland: Remove a useless else-if

We already check for impl->surface as the first branch we do.

12 years agowayland: Make the code here a bit clearer
Jasper St. Pierre [Mon, 16 Sep 2013 22:38:15 +0000 (18:38 -0400)]
wayland: Make the code here a bit clearer

By grouping the destroy and field clear together.

12 years agowayland: Ensure we keep our internal state when hiding a window with no surface
Jasper St. Pierre [Mon, 16 Sep 2013 22:36:18 +0000 (18:36 -0400)]
wayland: Ensure we keep our internal state when hiding a window with no surface

We need to keep track of the mapped variable here.

12 years agogtkdialog: Allow specifying response IDs by nick in <action-widgets>
Jasper St. Pierre [Mon, 28 Oct 2013 15:19:43 +0000 (11:19 -0400)]
gtkdialog: Allow specifying response IDs by nick in <action-widgets>

This makes it a lot more convenient for developers, as they don't
have to look up the numeric value of response IDs.

12 years agoBump version
Matthias Clasen [Mon, 28 Oct 2013 13:12:46 +0000 (09:12 -0400)]
Bump version

12 years agoFix up accessibility tests
Matthias Clasen [Mon, 28 Oct 2013 11:20:11 +0000 (07:20 -0400)]
Fix up accessibility tests

The output had gotten debug spew in it.

12 years agoUpdate the release notes
Matthias Clasen [Mon, 28 Oct 2013 11:17:16 +0000 (07:17 -0400)]
Update the release notes

12 years agoRemove debug spew
Matthias Clasen [Mon, 28 Oct 2013 11:16:30 +0000 (07:16 -0400)]
Remove debug spew

12 years agoGtkWidget: Fix clipping to large subwindows
Alexander Larsson [Mon, 28 Oct 2013 10:32:51 +0000 (11:32 +0100)]
GtkWidget: Fix clipping to large subwindows

_gtk_widget_draw_internal() was clipping by passing the subwindow
sizes as a path to cairo_clip(). This was breaking for windows
larger than 23 bits in width/height, due to cairo using fixed point
(24.8) for the path coordinates.

We fix this by pre-clipping the subwindow region to the existing
cairo clip region in the full 32bit gdkwindow precision. This fixes
the GooCanvas Large Items test.

https://bugzilla.gnome.org/show_bug.cgi?id=710958

12 years agoUpdates
Matthias Clasen [Mon, 28 Oct 2013 10:44:33 +0000 (06:44 -0400)]
Updates

12 years agoRevert "dialog: Fix docs for GtkDialog"
Matthias Clasen [Mon, 28 Oct 2013 10:39:21 +0000 (06:39 -0400)]
Revert "dialog: Fix docs for GtkDialog"

This reverts commit e4bb02f8ae698facc204c616108cc8f4c3b579bc.

Responses don't have to be negative.

12 years agoUpdate expected results for some a11y tests
Matthias Clasen [Fri, 25 Oct 2013 20:39:49 +0000 (16:39 -0400)]
Update expected results for some a11y tests

These are affected by recent changes to stock icons (adding
accessible names) and spinner sizing.

12 years agoRespect deprecated button images setting
Matthias Clasen [Fri, 25 Oct 2013 00:35:55 +0000 (20:35 -0400)]
Respect deprecated button images setting

I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/ButtonImages xsetting in buttons created with
gtk_button_new_from_stock() when it is set.

The setting as well as the function are still deprecated, and the
default value of the setting will remain FALSE.

12 years agoRespect deprecated menu images setting
Matthias Clasen [Fri, 25 Oct 2013 00:03:02 +0000 (20:03 -0400)]
Respect deprecated menu images setting

I have been convinced that it is a bad idea to change the behaviour
at the same time as deprecating it, so go back to respecting the
Gtk/MenuImages xsetting in GtkImageMenuItem when it is set.

The setting as well as the widget are still deprecated, and the
default value of the setting will remain FALSE.

12 years agoFix key "Page_Down" identified as "Next"
Olivier Brunel [Thu, 17 Oct 2013 18:19:21 +0000 (20:19 +0200)]
Fix key "Page_Down" identified as "Next"

Since 49c4ad2f the order between "Page_Down" & "Next" had been changed (due to
sorting) and this resulted in the Page Down key being identified as "Next"
instead of "Page_Down"

"Page_Up" wasn't affected, since it comes before "Prior"

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=710411

12 years agoRevert "GtkPlacesSidebar: support switching locations for XDS drag types"
Matthias Clasen [Wed, 23 Oct 2013 19:55:14 +0000 (15:55 -0400)]
Revert "GtkPlacesSidebar: support switching locations for XDS drag types"

This reverts commit 588ffa8c3241eff2f8e2d99b911a6bcb539347bd.

12 years agoRevert "GtkPlacesSidebar: support open locations when dragging text"
Matthias Clasen [Wed, 23 Oct 2013 19:54:52 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: support open locations when dragging text"

This reverts commit 1b839d4b72a2cedb2bb633b5acd57239860693f4.

12 years agoRevert "GtkPlacesSidebar: use gtk api to add dnd uri targets"
Matthias Clasen [Wed, 23 Oct 2013 19:54:44 +0000 (15:54 -0400)]
Revert "GtkPlacesSidebar: use gtk api to add dnd uri targets"

This reverts commit 7fa27dff259ad79d5a4364d7eaa6b63150082af3.

12 years agoGtkPlacesSidebar: use gtk api to add dnd uri targets
Nelson Benítez León [Sat, 7 Sep 2013 11:15:01 +0000 (13:15 +0200)]
GtkPlacesSidebar: use gtk api to add dnd uri targets

Instead of hardcoding it in the dnd drop targets list.

Part of bug 707679

12 years agoGtkPlacesSidebar: support open locations when dragging text
Nelson Benítez León [Sat, 7 Sep 2013 11:09:47 +0000 (13:09 +0200)]
GtkPlacesSidebar: support open locations when dragging text

Make GtkPlacesSidebar also open locations when hovered by
text dnd targets.

Part of bug 707679

12 years agoGtkPlacesSidebar: support switching locations for XDS drag types
Nelson Benítez León [Sat, 7 Sep 2013 09:01:33 +0000 (11:01 +0200)]
GtkPlacesSidebar: support switching locations for XDS drag types

Make GtkPlacesSidebar also change locations when hovered
by XDS dnd targets (eg. dragging a file from file-roller).

Part of bug 707679

12 years agodialog: Fix docs for GtkDialog
Jasper St. Pierre [Wed, 23 Oct 2013 16:03:55 +0000 (12:03 -0400)]
dialog: Fix docs for GtkDialog

Responses need to be negative

12 years agoGtkScrolledWindow: Disconnect from frame clock properly
Bastien Nocera [Tue, 22 Oct 2013 16:45:00 +0000 (18:45 +0200)]
GtkScrolledWindow: Disconnect from frame clock properly

The tick callback IDs from GtkWidget aren't timeouts, so
use the correct function to disconnect from them.

Spotted by Benjamin Otte <otte@redhat.com>

https://bugzilla.gnome.org/show_bug.cgi?id=710666

12 years agoGtkWidget: Avoid lingering clock frame updates
Bastien Nocera [Tue, 22 Oct 2013 16:42:01 +0000 (18:42 +0200)]
GtkWidget: Avoid lingering clock frame updates

For some widgets, like GtkTreeView, which setup a clock frame
update during realize, it was possible to call
gdk_frame_clock_begin_updating() twice, but only ever disconnecting
from it once. This happens because the realized flag is set at an
unpredictable time by the GtkWidget's realize implementation.

Keep the signal handler ID from us connecting to the "update" signal
to avoid connecting to it twice.

This fixes high wake-up count from any application using GtkTreeView,
even idle ones.

https://bugzilla.gnome.org/show_bug.cgi?id=710666

12 years agoall: Add names to timeouts
Bastien Nocera [Tue, 22 Oct 2013 13:43:43 +0000 (15:43 +0200)]
all: Add names to timeouts

Add names to every timeout we setup, so it's easier to track their
usage, and debug possible misbehaviour.

https://bugzilla.gnome.org/show_bug.cgi?id=710651